package com.htc.android.footprints.vo;

import android.os.Parcel;
import android.os.Parcelable;

public class Category implements Parcelable {
	public static final Parcelable.Creator<Category> CREATOR = new Parcelable.Creator() {
		public Category createFromParcel(Parcel paramParcel) {
			return new Category(paramParcel);
		}

		public Category[] newArray(int paramInt) {
			return new Category[paramInt];
		}
	};
	private static Category allCategory;
	public int mIconID;
	public String mKeyword;
	public String mName;

	public Category() {
	}

	private Category(Parcel paramParcel) {
		this.mKeyword = paramParcel.readString();
		this.mName = paramParcel.readString();
		this.mIconID = paramParcel.readInt();
	}

	public static Category getAllCategory() {
		if (allCategory == null) {
			allCategory = new Category();
			allCategory.mKeyword = "";
			allCategory.mName = "All Footprints";
			allCategory.mIconID = 2130837669;
		}
		return allCategory;
	}

	public int describeContents() {
		return 0;
	}

	public boolean equals(Object paramObject) {
		if (hashCode() == paramObject.hashCode()){
			return true;
		}
		return false;
	}

	public int hashCode() {
		return this.mKeyword.hashCode();
	}

	public void writeToParcel(Parcel paramParcel, int paramInt) {
		paramParcel.writeString(this.mKeyword);
		paramParcel.writeString(this.mName);
		paramParcel.writeInt(this.mIconID);
	}
}

/*
 * Location:
 * E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name: com.htc.android.footprints.vo.Category JD-Core Version: 0.6.0
 */